package com.dragon.modules.yuegou.entity.merchant;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;

/**
 * 商户用户极光IM对应关系表实体类<br>
 * 对应的表为：mer_user_jpush_message<br>
 * 
 * @author pbuilder generated
 * @date 2020-03-11 16:02:02
 * @company sgy
 * @version 2.0
 */
@TableName("mer_user_jpush_message")
@ApiModel(description = "商户用户极光IM对应关系表")
public class UserJpushMessageEntity {

	protected String id;

    /**  */
	protected String merchantId;

    /**  */
	protected String merchantUserId;

    /**  */
	protected LocalDateTime createdTime;

    /** 状态，是否有效 */
	@ApiModelProperty("状态，是否有效")
	protected Boolean status;

    /** 极光username */
	@ApiModelProperty("极光username")
	protected String jpushUsername;

    /** 极光密码 */
	@ApiModelProperty("极光密码")
	protected String jpushPassword;

	/**
	 * 构造一个空商户用户极光IM对应关系表实体对象
	 */
	public UserJpushMessageEntity(){
		super();
	}

	/**
	 * 依据其它对象的信息构造一个商户用户极光IM对应关系表实体对象
	 * 
	 * @param other 其它对象
	 */
	public UserJpushMessageEntity(UserJpushMessageEntity other){
		super();
     	this.id = other.id;
     	this.merchantId = other.merchantId;
     	this.merchantUserId = other.merchantUserId;
     	this.createdTime = other.createdTime;
     	this.status = other.status;
     	this.jpushUsername = other.jpushUsername;
     	this.jpushPassword = other.jpushPassword;
	}


	/**
	 * 获取
	 * 
	 * @return id 
	 */
	public String getId() {
		return id;
	}
  	
	/**
	 * 设置
	 * 
	 * @param id 
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * 获取
	 * 
	 * @return merchantId 
	 */
	public String getMerchantId() {
		return merchantId;
	}
  	
	/**
	 * 设置
	 * 
	 * @param merchantId 
	 */
	public void setMerchantId(String merchantId) {
		this.merchantId = merchantId;
	}

	/**
	 * 获取
	 * 
	 * @return merchantUserId 
	 */
	public String getMerchantUserId() {
		return merchantUserId;
	}
  	
	/**
	 * 设置
	 * 
	 * @param merchantUserId 
	 */
	public void setMerchantUserId(String merchantUserId) {
		this.merchantUserId = merchantUserId;
	}

	/**
	 * 获取
	 * 
	 * @return createdTime 
	 */
	public LocalDateTime getCreatedTime() {
		return createdTime;
	}
  	
	/**
	 * 设置
	 * 
	 * @param createdTime 
	 */
	public void setCreatedTime(LocalDateTime createdTime) {
		this.createdTime = createdTime;
	}

	/**
	 * 获取状态，是否有效
	 * 
	 * @return status 状态，是否有效
	 */
	public Boolean getStatus() {
		return status;
	}
  	
	/**
	 * 设置状态，是否有效
	 * 
	 * @param status 状态，是否有效
	 */
	public void setStatus(Boolean status) {
		this.status = status;
	}

	/**
	 * 获取极光username
	 * 
	 * @return jpushUsername 极光username
	 */
	public String getJpushUsername() {
		return jpushUsername;
	}
  	
	/**
	 * 设置极光username
	 * 
	 * @param jpushUsername 极光username
	 */
	public void setJpushUsername(String jpushUsername) {
		this.jpushUsername = jpushUsername;
	}

	/**
	 * 获取极光密码
	 * 
	 * @return jpushPassword 极光密码
	 */
	public String getJpushPassword() {
		return jpushPassword;
	}
  	
	/**
	 * 设置极光密码
	 * 
	 * @param jpushPassword 极光密码
	 */
	public void setJpushPassword(String jpushPassword) {
		this.jpushPassword = jpushPassword;
	}

    public String toString() {
		return new StringBuilder().append("UserJpushMessageEntity{").
			append("id=").append(id).
			append(",merchantId=").append(merchantId).
			append(",merchantUserId=").append(merchantUserId).
			append(",createdTime=").append(createdTime).
			append(",status=").append(status).
			append(",jpushUsername=").append(jpushUsername).
			append(",jpushPassword=").append(jpushPassword).
			append('}').toString();
    }

	/**
	 * 复制对象
	 * 
	 * @return 复制后的新实体对象
	 */
	public UserJpushMessageEntity copy() {
		return new UserJpushMessageEntity(this);
	}

    /**  */
	public static final String COL_ID = "id";

    /**  */
	public static final String COL_MERCHANT_ID = "merchant_id";

    /**  */
	public static final String COL_MERCHANT_USER_ID = "merchant_user_id";

    /**  */
	public static final String COL_CREATED_TIME = "created_time";

    /** 状态，是否有效 */
	public static final String COL_STATUS = "status";

    /** 极光username */
	public static final String COL_JPUSH_USERNAME = "jpush_username";

    /** 极光密码 */
	public static final String COL_JPUSH_PASSWORD = "jpush_password";
}
